package cn.vcjf.washcar.washcarorder.service;

import cn.vcjf.washcar.washcarorder.entity.WashCarOrder;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.session.RowBounds;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 洗车订单表 服务类
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-17
 */
public interface WashCarOrderService extends IService<WashCarOrder> {

	Map<String,Double> findWashCarOrderStatistics();

	Map<String,Object> getManagerIndexData();

	List<Map<String, Object>> getManagerIndexOrderData(Date begDate, Date endDate);

	List<Map<String, Object>> getDayOfMonthOrderCount();

	List<Map<String, Object>> getNear7DaysOrderCount();

	void exportWashCarOrder(WashCarOrder washCarOrder, HttpServletResponse response);

	List<WashCarOrder> selectPageList(RowBounds rowBounds, WashCarOrder washCarOrder);
}
